package com.spider.admin.conf;

public enum AgentSectionEnum {

    GOLBAL("global", "全局块"),
    HTTP("http", "HTTP块"),
    SERVER("server", "服务云块"),
    EVENTS("events","事件块"),
    LOCATION("location", "应用块");

    //状态码
    private String code;
    //状态描述
    private String message;

    AgentSectionEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }


    @Override
    public String toString() {
        return "ResultMessage{" +
                "code=" + code +
                ", message='" + message + '\'' +
                '}';
    }

    public String getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
